<script setup lang="ts">
    import Counter from './components/counter.vue'
</script>

<template>
    <Counter msg="Vite + Vue" />
    <div id="app">
        <router-view></router-view>
    </div>
</template>

<style scoped lang="less">

    /* 全局样式 */
    #app {
        font-family: Avenir, Helvetica, Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-align: center;
        color: #2c3e50;
        margin-top: 60px;
    }

    .logo {
        height: 6em;
        padding: 1.5em;
        will-change: filter;
        transition: filter 300ms;
    }

    .logo:hover {
        filter: drop-shadow(0 0 2em #646cffaa);
    }

    .logo.vue:hover {
        filter: drop-shadow(0 0 2em #42b883aa);
    }
</style>
